[INFO] cloning repository https://github.com/cyber2jie/post-client
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cyber2jie/post-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyber2jie%2Fpost-client", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyber2jie%2Fpost-client'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 45449b31592dc538488a6eb5bc7ff234173a0f90
[INFO] checking cyber2jie/post-client against try#f4690f24e7d9bcb0b168a02b06dd61391e8bd55a for pr-157814-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyber2jie%2Fpost-client" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cyber2jie/post-client
[INFO] finished tweaking git repo https://github.com/cyber2jie/post-client
[INFO] tweaked toml for git repo https://github.com/cyber2jie/post-client written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cyber2jie/post-client on toolchain f4690f24e7d9bcb0b168a02b06dd61391e8bd55a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cyber2jie/post-client already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7cf07dcec6eec8f91d8fcff9552b5c74122c05467aaf1800be6da9d6f61e2ab2" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 263a641988f76e226cb82d428b678f778112ca9002f8625a1c1faf9cfd7f525e
[INFO] running `Command { std: "docker" "start" "263a641988f76e226cb82d428b678f778112ca9002f8625a1c1faf9cfd7f525e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "263a641988f76e226cb82d428b678f778112ca9002f8625a1c1faf9cfd7f525e" "/opt/rustwide/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "263a641988f76e226cb82d428b678f778112ca9002f8625a1c1faf9cfd7f525e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "263a641988f76e226cb82d428b678f778112ca9002f8625a1c1faf9cfd7f525e" "/opt/rustwide/cargo-home/bin/cargo" "+f4690f24e7d9bcb0b168a02b06dd61391e8bd55a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling curl v0.4.42
[INFO] [stderr]    Compiling post-client v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: target-based cfg should be avoided in build scripts
[INFO] [stdout]   --> src/build.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[cfg(windows)]
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(misleading_cfg_in_build_script)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `linux`
[INFO] [stdout]   --> src/build.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 |     #[cfg(linux)]
[INFO] [stdout]    |           ^^^^^ help: found config with similar value: `target_os = "linux"`
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] }
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `macos`
[INFO] [stdout]   --> src/build.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 |     #[cfg(macos)]
[INFO] [stdout]    |           ^^^^^ help: found config with similar value: `target_os = "macos"`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos)'] }
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_win` is never used
[INFO] [stdout]  --> src/build.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn pack_win() {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_linux` is never used
[INFO] [stdout]   --> src/build.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn pack_linux() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_mac` is never used
[INFO] [stdout]   --> src/build.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn pack_mac() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `post-client` (build script) due to 1 previous error; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "263a641988f76e226cb82d428b678f778112ca9002f8625a1c1faf9cfd7f525e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "263a641988f76e226cb82d428b678f778112ca9002f8625a1c1faf9cfd7f525e", kill_on_drop: false }`
[INFO] [stdout] 263a641988f76e226cb82d428b678f778112ca9002f8625a1c1faf9cfd7f525e
